import {request} from "../../utils/request"
import type {loginResponseType,userFindType,userFindAllType,studentType,studentdelType,studentsearchType} from "../../modal/zhy/student";

//学生显示 SchoolSys/stu/select post
export let studentinfo= (params:object)=>{
	return request.postRequest<studentType>("SchoolSys/stu/select",params)
}
//删除 SchoolSys/stu/delete 
export let studentinfodel= (params:object)=>{
	return request.postRequest<studentdelType>("SchoolSys/stu/delete",params)
}
//搜索	SchoolSys/stu/like 
export let studentsearchinfo= (params:object)=>{
	return request.postRequest<studentsearchType>("SchoolSys/stu/like",params)
}
//添加 SchoolSys/stu/insert
export let studentaddinfo= (params:object)=>{
	return request.postRequest<studentsearchType>("SchoolSys/stu/insert",params)
}
//班级 SchoolSys/clazz/select
export let classnames= (params:object)=>{
	return request.postRequest<studentsearchType>("SchoolSys/clazz/select",params)
}
//更多 SchoolSys/stu/selectid
export let studetailinfo= (params:object)=>{
	return request.postRequest<studentsearchType>("SchoolSys/stu/selectid",params)
}
//修改 SchoolSys/stu/update
export let stuupdateinfo= (params:object)=>{
	return request.postRequest<studentsearchType>("SchoolSys/stu/update",params)
}
//查询员工请假列表 SchoolSys/uloa/searchUloa
export let staffuloainfo= (params:object)=>{
	return request.postRequest<studentsearchType>("SchoolSys/uloa/searchUloa",params)
}